wayland: Explicitly request mode for both CSD and SSD modes
authorDavid Edmundson <kde@davidedmundson.co.uk>
Mon, 25 Jun 2018 16:06:33 +0000 (17:06 +0100)
committerDavid Edmundson <kde@davidedmundson.co.uk>
Thu, 28 Jun 2018 17:50:50 +0000 (18:50 +0100)
commit32ae97f13af6651c06ee1e094543f1a96d61cefc
tree17b4451268d03adb4422de9ae850754ba5befb38
parente7bb83988f5d8228819e83a023cdb24dc3132fb7
wayland: Explicitly request mode for both CSD and SSD modes

According to the spec compositors were to assume surfaces are CSD until
told otherwise. This means we need to send
org_kde_kwin_server_decoration_request_mode in both cases.

This fixes libreoffice under kwin, which would remove it's own headers
as per the manager's request but not inform kwin leaving it in the even
more broken state of having none.
gdk/wayland/gdkwaylandwindow.h
gdk/wayland/gdkwindow-wayland.c
gtk/gtkwindow.c